import request from '@/utils/request'

// 查询合作税源列表
export function listCooperativeTax(query) {
  return request({
    url: '/tax/cooperativeTax/list',
    method: 'get',
    params: query
  })
}

// 查询合作税源列表
export function listCooperativeTaxByInitiate(initiateOrganizationId,query) {
  return request({
    url: '/tax/cooperativeTax/list/' + initiateOrganizationId,
    method: 'get',
    params: query
  })
}

// 查询合作税源详细
export function getCooperativeTax(cooperativeId) {
  return request({
    url: '/tax/cooperativeTax/' + cooperativeId,
    method: 'get'
  })
}


// 修改合作税源
export function auditCooperativeTax(data) {
  return request({
    url: '/tax/cooperativeTax/auditCooperativeTax',
    method: 'put',
    data: data
  })
}
